#-------------------------------------------------
#
# Project created by QtCreator 2017-02-28T22:08:30
#
#-------------------------------------------------

QT       += widgets sql network

TARGET = dcmimport
TEMPLATE = lib

DEFINES += DCMIMPORTPLUGIN_LIBRARY
DEFINES += NOMINMAX
DEFINES += _REENTRANT
DEFINES += HAVE_PROTOTYPE_GETHOSTNAME

CONFIG(release, debug|release) {
INCLUDEPATH += $$"C:\Program Files (X86)\DCMTK_MD\include"
LIBS += $$"C:\Program Files (X86)\DCMTK_MD\lib\*.lib"
} else {
INCLUDEPATH += $$"C:\Program Files (X86)\DCMTK_MDd\include"
LIBS += $$"C:\Program Files (X86)\DCMTK_MDd\lib\*.lib"
}

LIBS += advapi32.lib wsock32.lib netapi32.lib

SOURCES += \
    importdcmfilethread.cpp \
    importstudymodel.cpp \
    importstudyview.cpp \
    scandcmfilethread.cpp \
    dcmimportwidget.cpp \
    dcmimport_global.cpp \
    main.cpp

HEADERS +=\
        dcmimportplugin_global.h \
    importdcmfilethread.h \
    importstudymodel.h \
    importstudyview.h \
    scandcmfilethread.h \
    dcmimportwidget.h \
    dcmimportinterface.h

unix {
    target.path = /usr/lib
    INSTALLS += target
}

FORMS += \
    dcmimportwidget.ui

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../FtpClient/build-FtpClient-Desktop_Qt_5_6_1_MSVC2013_32bit-Debug/release/ -lqftp
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../FtpClient/build-FtpClient-Desktop_Qt_5_6_1_MSVC2013_32bit-Debug/debug/ -lqftp

INCLUDEPATH += $$PWD/../../FtpClient/FtpClient
DEPENDPATH += $$PWD/../../FtpClient/FtpClient
